package com.bj58.groupbuy.action.service.impl;

import java.util.List;

import com.bj58.groupbuy.action.model.IRSearchConfig;
import com.bj58.groupbuy.action.service.IRSearchConfigService;
import com.bj58.groupbuy.service.impl.BaseService;

public class IRSearchConfigServiceImpl  extends BaseService<IRSearchConfig> implements IRSearchConfigService {

	@Override
	public List<IRSearchConfig> getListByIRid(int irReportId) throws Exception {
		List<IRSearchConfig> rsList = getGenericDao().find(IRSearchConfig.class, "*", "irReportId="+irReportId, "searchTypeId");
		if( null != rsList  && !rsList.isEmpty())
			return rsList;
		
		return null;
	}

}
